package com.stx.jeepay.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.stx.jeepay.core.entity.SysUserAuthEntity;


import java.util.Map;

/**
 * 系统用户认证表
 *
 * @author suntingxing
 * @email 1@gmail.com
 * @date 2023-09-11 13:05:22
 */
public interface SysUserAuthService extends IService<SysUserAuthEntity> {

    // 根据登录信息查询用户认证信息
    SysUserAuthEntity selectByLogin(String loginUsernameStr, Byte identityType, String mgr);

    /**
     * 添加用户认证表
     */
    void addUserAuthDefault(Long userId, String loginUserName, String telPhone, String pwdRaw, String sysType);

    /**
     * 重置密码
     */
    void resetAuthInfo(Long resetUserId, String authLoginUserName, String telphone, String newPwd, String sysType);
}

